
			<script>
			$(document).on('click', '.msearch',function(event){
				$('.cover-bg').show();
				$('.search-box').show();
				$('.sinput').focus();
			});
			$(document).on('click', '.cancel-search',function(event){
				$('.cover-bg').hide();
				$('.search-box').hide();
			});
			$(document).on('click', '.cover-bg', function(event){
				$('.cover-bg').hide();
				$('.search-box').hide();
			});
$('.headSearch').hover(function(){
		$(this).css( 'background-color' , '#fff' );
		if( !$(this).children('input').is(":animated") ){
			$(this).children('input').animate({ 'width' : 100 }, 200);
		}
		$('.sClassify i').css({
			'filter' : 'alpha(opacity=100)',
			'opacity' : 1
			})
	}, function(){
		$(this).css( 'background-color' , '#d3d3d3' );
		$(this).children('input').animate({ 'width' : 40 }, 200);
		$('.sClassify i').css({
			'filter' : 'alpha(opacity=0)',
			'opacity' : 0
			})
	});
	
	//头部搜索动作
	$("#searchTab").find('li').click(function(){
		$("#currentTab").html($(this).html());
		var tab = $(this).attr('tab');
		$("#topSearchTab").val(tab);
	});
	
	//头部搜索动作
	$("#topSearchBtn").click(function(){
		//var keywords = $("#topKeywords").val();
		//var tab = $("#topSearchTab").val();
		//if ($.trim(keywords) != '') {
		//	location.href = '/' + tab + '?k=' + keywords;
		//}
	});
	var topkeywordsdefaultvalue = $("#searchTab").find("li.current").html();
	if (topkeywordsdefaultvalue == '' || topkeywordsdefaultvalue == undefined) {
		topkeywordsdefaultvalue = '作品';
	}
	$("#currentTab").html(topkeywordsdefaultvalue);
			</script>
				
	</head>
	<body >


        <div class="search-box" style="display:none;">
			<div class="search-input">
				<form action="{dede:global.cfg_cmsurl/}/coin/search_m.php" method="get">
					<input type="hidden" name="mobile" value="1" />
		            <input type="hidden" name="kwtype" value="0" />
					<input type="text" name="q" placeholder="搜索" class="sinput" style="background-color: #fff;" />
					<span class="cancel-search">取消</span>
				</form>
			</div>
					
        </div>
		<div class="cover-bg" style="display:none;"></div>
		<div class="am-g offcanvas_header">
			<div class="w-head am-u-sm-12">
				<div class="w-menu">
					<a href="#doc-oc-demo1" data-am-offcanvas><i class="zt-icon zt-menu"></i></a>
				</div>
				<div class="w-logo"><a href="/"><img src="{dede:global.cfg_wap/}/assets/images/smlogo.png" /></a></div>
				<div class="w-toph">
					<div class="msearch" style="margin-right: 10px;"><i class="zt-icon zt-search"></i></div>
				</div>
			</div>

		   			<div id="doc-oc-demo1" class="am-offcanvas">
			  <div class="am-offcanvas-bar">
			    <div class="am-offcanvas-content">
		        	<p class="header_titles" style="margin-left:-1rem;">
		        		<a href="index.php">网站首页</a>
		        	</p>
					{dede:channel type='top' row='3'}
		        	<p class="header_titles" style="margin-left:-1rem;">
		        		<a href="/list.php?tid=[field:id/]">[field:typename/]</a>
		        	</p>
		        	{/dede:channel}
			    </div>
			  </div>
			</div>
					</div>